package com.zidian.teacher.api;

/**
 * Created by GongCheng on 2016/10/17 0017.
 */

public class LoginResult {
    private int code;
    private String message;
    private String teacherID;
    private String teacherName;
    private String token;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTeacherID() {
        return teacherID;
    }

    public void setTeacherID(String teacherID) {
        this.teacherID = teacherID;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getToken() {
        return token;
    }

    @Override
    public String toString() {
        return "LoginResult{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", teacherID='" + teacherID + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", token='" + token + '\'' +
                '}';
    }

    public void setToken(String token) {
        this.token = token;
    }
}
